package com.xiaojf.xlog.cons;

/**
 * 操作类型
 *
 * @author Ade.Xiao 2021/3/11 14:04
 */
public enum OperateType {
    INSERT("insert", "新增", "INSERT"),
    UPDATE("update", "更新", "UPDATE"),
    INSERT_OR_UPDATE("insert or update", "新增或更新", "INSERT_OR_UPDATE"),
    DELETE("delete", "删除", "DELETE"),
    QUERY("query", "查询", "QUERY"),
    ;

    private String en;
    private String zh;
    private String code;

    OperateType(String en, String zh, String code) {
        this.en = en;
        this.zh = zh;
        this.code = code;
    }
}
